package dv.network;

public class Port {
    private String name;
    private Device device;
    private Port peer;

    public Port(String name, Device device) {
        this.name = name;
        this.device = device;
    }

    public Device getDevice() {
        return device;
    }

    public void setPeer(Port peer) {
        this.peer = peer;
    }

    public Port getPeer() {
        return peer;
    }
}
